package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminRole;
import com.ygqh.baby.po.AdminRoleExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminRoleMapper {
    int countByExample(AdminRoleExample example);

    int deleteByExample(AdminRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminRole record);

    int insertSelective(AdminRole record);

    List<AdminRole> selectByExample(AdminRoleExample example);

    AdminRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminRole record, @Param("example") AdminRoleExample example);

    int updateByExample(@Param("record") AdminRole record, @Param("example") AdminRoleExample example);

    int updateByPrimaryKeySelective(AdminRole record);

    int updateByPrimaryKey(AdminRole record);
    
    int countSuper(@Param ("q") String q,@Param("isEnabled")Boolean isEnabled);
    
    List<AdminRole> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q,@Param("isEnabled")Boolean isEnabled);

	AdminRole findDetailById(@Param("id") Long id);
    
}



